package org.jeecg.modules.erp.goods.service;

import org.jeecg.modules.erp.goods.entity.ErpGoodsPackage;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.erp.goods.vo.ErpGoodsPackageVo;

import java.util.List;

/**
 * @Description: 产品包材关联表
 * @Author: jeecg-boot
 * @Date:   2024-05-29
 * @Version: V1.0
 */
public interface IErpGoodsPackageService extends IService<ErpGoodsPackage> {

	/**
	 * 通过主表id查询子表数据
	 *
	 * @param mainId 主表id
	 * @return List<ErpGoodsPackage>
	 */
	public List<ErpGoodsPackageVo> selectByMainId(String mainId);

	public List<ErpGoodsPackageVo> selectByReviewId(String reviewId,String goodsId);
}
